package boke;

public class Text {
    public static void main(String[] args) {
        student student1 = new student("张三",60);
        System.out.println(student1.name);
        System.out.println(student1.getScore());
    }
}
class student{
   public  String name;
   private int score;

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public student(String name, int score) {
        this.name = name;
        this.score = score;
    }
}

